print("\n","="*39,"poem","="*39)
with open('poem.txt','r',encoding = "utf-8") as file:
    number = 0
    while True:
        line = file.readline()
        number += 1
        if line == "":
            break
        print(number,line,end="\n")
print("\n","="*39,"over","="*39)